﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CardTypes = Wormhole.Engine.CardLibrary.CardTypes;
using CardProperties = Wormhole.Engine.CardLibrary.CardProperties;

namespace Wormhole.Engine.CardLibrary.SG1.Cards.Hero.Event
{
	/// <author>Rodney McKay</author>
	/// <date>06 April 2008</date>
	/// <summary>
	/// Ill-Gotten Gains.
	/// </summary>
	/// 
	/// <card>
	///		<title>Ill-Gotten Gains</title>
	///		<cost>1</cost>
	///		<gameText>
	///			To play this event, stop a team character.
	///			Search your deck for a gear card, reveal it, take it into hand, and shuffel your deck.
	///		</gameText>
	///		
	///		<lore>
	///			Valuable alien technology is easily acquired if one is not particular as to the means.
	///			To set himself up undercover with the rogue NID, O'Neill took up their shady bahavior.
	///		</lore>
	///		
	///		<collectorInfo>
	///			<expansion>1</expansion>
	///			<rarity>Common</rarity>
	///			<number>116</number>
	///		</collectorInfo>
	///		
	///		<traits>
	///			<trait>Event</trait>
	///		</traits>
	/// </card>
	public class SG1C116 : CardTypes.Event
	{
		#region Properties

		#region Title
		/// <summary>
		/// The card title.
		/// </summary>
		public override string Title
		{
			get { return "Ill-Gotten Gains"; }
		}
		#endregion

		#region Cost
		/// <summary>
		/// The cost for the event
		/// </summary>
		public override int Cost
		{
			get { return 1; }
		}
		#endregion

		#region Game Text
		/// <summary>
		/// The game text on the card.
		/// </summary>
		public override string GameText
		{
			get
			{
				return "To play this event, stop a team character. Search your deck for a gear card, reveal it, take it into hand, and shuffel your deck.";
			}
		}
		#endregion

		#region Lore
		/// <summary>
		/// The lore text.
		/// </summary>
		public override string Lore
		{
			get 
			{
				return "Valuable alien technology is easily acquired if one is not particular as to the means. To set himself up undercover with the rogue NID, O'Neill took up their shady bahavior."; 
			}
		}
		#endregion

		#region Collector Info
		private CardProperties.CollectorInfo _collectorInfo;
		/// <summary>
		/// The collector information.
		/// </summary>
		public override CardProperties.CollectorInfo CollectorInfo
		{
			get
			{
				if (this._collectorInfo == null)
				{
					this._collectorInfo = new CardProperties.CollectorInfo();
					this._collectorInfo.Expansion = 1;
					this._collectorInfo.Rarity = CardProperties.Rarity.Common;
					this._collectorInfo.Number = 116;
				}

				return this._collectorInfo;
			}
		}
		#endregion

		#region Traits
		private CardProperties.Traits _traits;
		/// <summary>
		/// The card traits.
		/// </summary>
		public override CardProperties.Traits Traits
		{
			get
			{
				if (this._traits == null)
				{
					this._traits = new CardProperties.Traits();
					this._traits.Add(CardProperties.Trait.Event);
				}

				return this._traits;
			}
		}
		#endregion

		#region Image URI
		private Uri _imageUri;
		/// <summary>
		/// The location of the card image.
		/// </summary>
		public override Uri ImageUri
		{
			get
			{
				if (this._imageUri == null)
				{
					this._imageUri = new Uri("pack://application:,,,/Wormhole.Engine.CardLibrary.SG1;component/Images/Hero/Event/1C116.jpg", UriKind.Absolute);
				}

				return this._imageUri;
			}
		}
		#endregion

		#endregion

		#region Constructor
		/// <summary>
		/// Initialize a new instance of the class.
		/// </summary>
		/// <param name="owner">The card owner.</param>
		public SG1C116(Player.Player owner)
			: base(owner)
		{

		}
		#endregion
	}
}
